//
//  BJArticleInfoViewTableViewCell.m
//  BowJoy
//
//  Created by  on 2024/5/22.
//

#import "BJArticleInfoViewTableViewCell.h"

@implementation BJArticleInfoViewTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(BJAnchorWallModelData *)model{
    self.titleL.text = model.title;
    self.contenL.text = model.content;
    self.followIcon.image = model.isLike ? [UIImage imageNamed:@"icon_love_red"]:[UIImage imageNamed:@"icon_love_gray"];
    self.followNumL.text = [NSString stringWithFormat:@"%ld",model.followNum];
    self.commetNumL.text = [NSString stringWithFormat:@"%ld",model.commentNum ? model.commentNum:0];
    
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
